package com.boot.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.naming.Name;
import javax.persistence.*;
import java.io.Serializable;

/**
 * 院系表
 */
@Data
@Entity
@Table(name="school")
public class School implements Serializable {

    @Id
    @Column(name = "school_id")
    private Integer schoolId; //院系编号
    @Column(name = "school_name")
    private String schoolName; //院系名称
    @Column(name="school_tea_num")
    private Integer teaNum; //专业学生人数
    @Column(name="school_stu_num")
    private Integer stuNum; //专业学生人数
}
